home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_130 / hp / hp_data.include < prev    next >
Text File  |  1992-05-06  |  2KB  |  73 lines

  1. /*--------------------------------------*/
  2. /*                                      */
  3. /*    Filename:  hp_data.include        */
  4. /*                                      */
  5. /*    Contains C data declarations      */
  6. /*          for routine hp.c            */
  7. /*                                      */
  8. /*--------------------------------------*/
  9.  
  10. struct  NewScreen  ns;
  11. struct  NewWindow  nw;
  12.  
  13. struct  Screen     *hp_screen;
  14. struct  Window     *hp_window;
  15.  
  16. struct  RastPort   *rp;
  17. struct  ViewPort   *vp;
  18.  
  19. struct  IntuiMessage  *message;
  20.  
  21. struct  TextAttr       Topaz_Eight;
  22.  
  23. struct  GfxBase       *GfxBase;
  24. struct  IntuitionBase *IntuitionBase;
  25.  
  26. int     xmin, ymin, keysize, inkey, angmode, regcode;
  27. int     base, lastbase, tempbase;
  28. int     display_red, display_green, display_blue;
  29. BOOL    key_valid[65], entry_in_progress, entry_completed, decimal_entered;
  30. BOOL    screen_refresh_only, exponent_entered, mode_changed;
  31. BOOL    error_occurred;
  32.  
  33. double  x, y, z, t;
  34. int     ix, iy, iz, it;
  35. double  registers[ 16 ];
  36. int     iregisters[ 16 ];
  37. double  angfac;
  38. char    xstr[34], ystr[34], instring[34];
  39. char    *xptr, *yptr, *iptr, *regptr;
  40. int     next_digit, reg;
  41. FILE    *printer;
  42. BOOL    print_on;
  43.  
  44. char    *ecvt();
  45. double  atof();
  46.  
  47.  
  48. /*  Found in hp_graphics1.include      */
  49. int     SetUpHpGraphics();
  50.  
  51. /*  Found in hp_graphics2.include      */
  52. int     DrawDisplay(), DrawKeys(), DrawKey(), LabelKeys();
  53.  
  54. /*  Found in hp_modes.include          */
  55. int     CheckModes(), SetAngleMode(), SetBase(), SetValidKeys();
  56.  
  57. /*  Found in hp_user_inputs.include    */
  58. int     TweakDisplay(), BeepHpDisplay(), KeyCode();
  59. BOOL    GadgetPoked();
  60.  
  61. /*  Found in hp_conversions.include    */
  62. int     DisplayFloatXY(), DisplayIntXY();
  63. BOOL    InkeyIsNumeric();
  64. int     ContinueNumEntry(), CommenceNumEntry(), PushX();
  65.  
  66. /*  Found in hp_math.include           */
  67. int     ProcessFloat(), ProcessComplex(), ProcessInteger();
  68. int     StoreRegister(), RecallRegister(), SelectStoreReg();
  69. int     matherr();
  70.  
  71. int     PrintKey();
  72.  
  73.